GtkWindow: remove unneeded call
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 3 Jan 2011 22:18:54 +0000 (23:18 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 4 Jan 2011 01:56:25 +0000 (02:56 +0100)
gtk_widget_style_attach() is no longer necessary.

gtk/gtkwindow.c

index a81ac65a88dacf0e31e2f473a2796fe57e92b2e9..6e0fca347e1a45f0f1245efa17b9eaf8af15fcf9 100644 (file)
@@ -4920,9 +4920,7 @@ gtk_window_realize (GtkWidget *widget)
 
   gdk_window_set_user_data (gdk_window, window);
 
-  gtk_widget_style_attach (widget);
   context = gtk_widget_get_style_context (widget);
-
   gtk_style_context_set_background (context, gdk_window);
 
   if (priv->transient_parent &&